package com.hbxx.lotteryapp.service;

import com.hbxx.lotteryapp.commons.Result;
import com.hbxx.lotteryapp.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tonny
 * @since 2022-06-08
 */
public interface IOrderService extends IService<Order> {

    /**
     * 订单分页查询
     * @param pageNum
     * @param pageSize
     * @param request
     * @return
     */
    Result pageList(Integer pageNum, Integer pageSize, HttpServletRequest request);

    /**
     * 订单详情查询
     * @param orderCode
     * @return
     */
    Result detail(String orderCode);
}
